createPaginationResult

fun <T> List<T>.createPaginationResult(pagination: Pagination, commonObjectsNumber: Long): PaginationResult<T>
fun <T> List<T>.createPaginationResult(firstIndex: Int, commonObjectsNumber: Long): PaginationResult<T>
fun <T> Pair<Long, List<T>>.createPaginationResult(pagination: Pagination): PaginationResult<T>